package com.bootdo.system.service;

import com.alibaba.fastjson.JSONObject;
import com.bootdo.common.utils.Query;
import com.bootdo.system.domain.ProductConfigDO;
import com.bootdo.system.vo.ListWithOrderQueryVo;
import com.bootdo.system.vo.ListWithOrderVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * 产品配置表
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2021-06-15 13:40:52
 */
public interface ProductConfigService {
	
	ProductConfigDO get(Integer id);
	
	List<ProductConfigDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ProductConfigDO config);
	
	int update(ProductConfigDO config);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    void importInfo(MultipartFile file) throws Exception;

	List<ListWithOrderVo> getListWithOrder(Map<String, Object> map);

	int countListWithOrder(Map<String, Object> map);

	List<JSONObject> batchPrint(ListWithOrderQueryVo listWithOrderQueryVo);
}
